<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<html>
<body>
	<h2><spring:message code="register.info" /></h2>
	<form:form method="POST" modelAttribute="userRegister">
		<form:label  path="username"><spring:message code="username.displayname"/></form:label>
		<form:input path="username"/><form:errors path="username" cssClass="error"/>
		<br/>
		
		<form:label path="password"><spring:message code="password.displayname"/></form:label>
		<form:password path="password"/><form:errors path="password" cssClass="error"/>
		<br/>
		<input type="submit" value='<spring:message code="register"/>'/>
	</form:form>
</body>
</html>
